package com.bw;

import org.junit.Test;

public class XiaoMing {

    /**
     * 小明通过小红卖香水
     * @param args
     */
    public static void main(String[] args) {
        // dior专柜
        DiorPerfume diorPerfume = new DiorPerfume();
        // 小红
        XiaoHong xiaoHong = new XiaoHong();
        xiaoHong.setDiorPerfume(diorPerfume);

        // 小红卖香水
        xiaoHong.salePerfume();

    }

    /**
     * 小明通过小红买红酒
     */
    @Test
    public void  testhj(){
        LF lf = new LF();

        XiaoHong xiaoHong = new XiaoHong();
        xiaoHong.setLfHongJiu(lf);


        xiaoHong.saleHJ();


    }
}
